|
PHY SET RIGID BODY MASS OFFSET GLOBAL
Set the centre of mass for the specified rigid body in global space.
PHY SET RIGID BODY MASS OFFSET GLOBAL ID, x#, y#, z#
ID
Integer
ID number of the rigid body
x#
Float
offset in global space on X axis
y#
Float
offset in global space on Y axis
z#
Float
offset in global space on Z axis
Setting an unrealistic center of mass which is a long way from the body can make it difficult for Dark Physics to solve constraints. Perhaps leading to instability and jittering bodies. However, using this command is useful for situations where the mass of an object is not necessarily in the center of an object. The paramers are the mass frame offset relative to the objects position.
No example code is provided for this command
|